#ifndef GOWILDCONTROLCMD_H
#define GOWILDCONTROLCMD_H

#include "Command/BaseCmd.h"
#include "DataType/GowildStruct.h"
#include "Protocol/GowildProtocol.h"

class GowildControlCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = GowildProtocol::GowildControl};

    Q_INVOKABLE explicit GowildControlCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);



    QList<Gowild::ControlParamStruct> controlParamList() const;
    void setControlParamList(const QList<Gowild::ControlParamStruct> &controlParamList);

private:
    QList<Gowild::ControlParamStruct> m_controlParamList;
};

#endif // GOWILDCONTROL_H
